package com.train.LSP.classes;

import com.train.LSP.classes.A;

public class B extends Base{
    private A a = new A();
    public Integer add(Integer a,Integer b){
        return a + b + this.a.add(a,b);
    }
    public Integer sub(Integer a,Integer b){
        return a -b - this.a.sub(a,b);
    }
}
